/*
  Programa Wifis, 2010-2011
  Autor: Nilhcraiv

This file is part of Wifis.

    Wifis is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Wifis is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Wifis.  If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef OPTIONS_H
#define OPTIONS_H

#include <QDialog>
#include <QVector>

#include "save.h"

namespace Ui {
    class options;
}

class options : public QDialog
{
    Q_OBJECT

public:
    explicit options(QWidget *parent = 0, save *classSave = 0, QVector<int> *conf = 0);
    ~options();
    void setChecked_1(bool check);
    void setChecked_2(bool check);
    void setChecked_3(bool check);
    void setChecked_4(bool check);
    void setChecked_5(bool check);

    void setValueDoubleSpinBox(double value);

private:
    Ui::options *ui;
    save *claseSave;
    QVector<int> * configuracion;

    QVector <int> config;

private slots:
    void slotOkButton();
    void slotCancelButton();
};

#endif // OPTIONS_H
